body {
  width: 100%;
  max-width: 640px;
  min-width: 320px;
  margin: 0 auto;
  background-color: #fff;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}
/*点击高亮我们需要清除清除  设置为transparent 完成透明*/
* {
  -webkit-tap-highlight-color: transparent;
}
/*在移动端浏览器默认的外观在iOS上加上这个属性才能给按钮和输入框自定义样式*/
input {
  -webkit-appearance: none;
}
/*禁用长按页面时的弹出菜单*/
img,
a {
  -webkit-touch-callout: none;
}
/* 去除图片底部空白间隙 */
img {
  vertical-align: middle;
}
div {
  /* css3 盒子模型 */
  box-sizing: border-box;
}
a {
  color: #666;
  text-decoration: none;
}
.clearfix:after {
  content: "";
  display: block;
  line-height: 0;
  visibility: hidden;
  height: 0;
  clear: both;
}
.app {
  height: 45px;
}
.app ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.app ul li {
  float: left;
  background-color: #333;
  height: 45px;
  line-height: 45px;
  text-align: center;
  color: #fff;
}
.app ul li:nth-child(1) {
  width: 8%;
}
.app ul li:nth-child(1) img {
  width: 10px;
}
.app ul li:nth-child(2) {
  width: 10%;
}
.app ul li:nth-child(2) img {
  width: 30px;
  vertical-align: middle;
}
.app ul li:nth-child(3) {
  width: 57%;
}
.app ul li:nth-child(4) {
  width: 25%;
  background-color: #f63515;
}
.search-wrap {
  height: 44px;
  position: fixed;
  overflow: hidden;
  min-width: 320px;
  max-width: 640px;
  width: 100%;
}
.search-wrap .search-btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 44px;
}
.search-wrap .search-btn::before {
  content: "";
  display: block;
  width: 20px;
  height: 18px;
  background: url(../images/s-btn.png) no-repeat;
  background-size: 20px 18px;
  margin: 14px 0 0 15px;
}
.search-wrap .search-login {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 44px;
  line-height: 44px;
  color: #fff;
}
.search-wrap .search {
  height: 30px;
  background-color: #fff;
  margin: 0 50px;
  border-radius: 15px;
  margin-top: 7px;
  position: relative;
}
.search-wrap .search .jd-icon {
  width: 20px;
  height: 15px;
  position: absolute;
  top: 8px;
  left: 13px;
  background: url(../images/jd.png);
  background-size: 20px 15px;
}
.search-wrap .search .jd-icon::after {
  content: "";
  display: block;
  width: 1px;
  height: 15px;
  background-color: #ccc;
  position: absolute;
  right: -8px;
  top: 0;
}
.search-wrap .search .sou {
  width: 18px;
  height: 15px;
  background: url(../images/jd-sprites.png) no-repeat -81px 0;
  position: absolute;
  top: 8px;
  left: 50px;
  background-size: 200px auto;
}
.slider img {
  width: 100%;
}
.brand {
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}
.brand div {
  width: 33.33%;
  float: left;
}
.brand div img {
  width: 100%;
}
nav {
  padding-top: 5px;
}
nav a {
  float: left;
  width: 20%;
  text-align: center;
}
nav a img {
  width: 40px;
  margin: 10px 0;
}
nav a span {
  display: block;
}
.news {
  margin-top: 20px;
  height: 100px;
}
.news a {
  float: left;
  box-sizing: border-box;
  /* n+2就是从第二个往后面选 */
}
.news a:nth-child(1) {
  width: 50%;
}
.news a:nth-child(n + 2) {
  width: 25%;
  border-left: 1px solid #ccc;
}
.news a img {
  width: 100%;
}
